package com.better517na.elasticseach.elasticsearch;

import java.util.Map;

public interface ElasticSearchClient {

    boolean indexStatus(Index index);

    String post(Index index, String postBody);

    String get(Index index, String body);

    Map<String, String> head(Index index);

    String delete(Index index);

    String getHost();

    String getPort();

}
